package cn.jiyun.function.mapper;

import cn.jiyun.pojo.function.Count;
import cn.jiyun.pojo.function.Driver;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDateTime;
import java.util.List;

public interface DriverMapper {
    List<Driver> findPage(Page<Driver> page,Driver driver);
    List<Driver> findPage1(Page<Driver> page);

    List<Driver> findList();

    Driver findById(Integer userId);

    List<Count> findCount(@Param("count") Count count);

    List<Count> findCount1(@Param("count") Count count);

    void updateVerificationStatus(Integer userId, Integer status, String verifier, LocalDateTime approvalTime);
}
